<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.x.bean.Achievement" %><%--
  Created by IntelliJ IDEA.
  User: 13925
  Date: 2020/6/14
  Time: 21:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>查看成绩</title>
</head>
<body>
<div class="right">
    <div class="location">
        <strong>你现在所在的位置是:</strong>
        <span>学生管理页面 >> 学生成绩信息查看页面</span>
        <div class="info">${error}</div>
        <div class="inputbox">
            <form id="userForm" name="userForm" method="post" action="${pageContext.request.contextPath }/jsp/userAchievementGetByCode.do">
                <label>用户编号：</label>
                <input type="text" class="input-text" id="code" name="code" placeholder="请输入用户编号" required/>
        </div>
        <input type="submit" value="保存" >
        <input type="reset" value="重置"/>
        <input type="button" value="返回" onclick="javascript:history.go(-1);"/>
    </div>

        <table class="providerTable" cellpadding="0" cellspacing="0">
            <tr class="firstTr">
                <th>课程编号</th>
                <th>课程名</th>
                <th>成绩</th>
                <th>用户编号</th>
            </tr>
            <c:forEach var="a" items="${Achievement}" varStatus="status">
                <tr>
                    <td><input type="text" value="${a.courseNo}" name="courseNo"></td>
                    <td><input type="text" value="${a.courseName}" name="courseName"></td>
                    <td><input type="text" value="${a.score}" name="score"></td>
                    <td><input type="text" value="${a.code}" name="code"></td>
                </tr>
            </c:forEach>
        </table>
</body>
</html>
